import Vue from 'vue'
import Router from 'vue-router'
import home from '@/views/home'
import online from '@/views/online'
import message from '@/views/message'
import mine from '@/views/mine'
import login from '@/views/login'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/home',
      component: home
    },
    {
      path: '/online',
      component: online
    },
    {
      path: '/message',
      component: message
    },
    {
      path: '/mine',
      component: mine
    },
    {
      path: '/login',
      component: login
    }
  ]
})
